翻訳と辞書 |
C mathematical functions : ウィキペディア英語版 | C mathematical functions
C mathematical operations are a group of functions in the standard library of the C programming language implementing basic mathematical functions. All functions use floating point numbers in one manner or another. Different C standards provide different, albeit backwards-compatible, sets of functions. Most of these functions are also available in the C++ standard library, though in different headers (the C headers are included as well, but only as a deprecated compatibility feature). == Overview of functions ==
Most of the mathematical functions are defined in math.h (cmath header in C++). The functions that operate on integers, such as abs , labs , div , and ldiv , are instead defined in the stdlib.h header (cstdlib header in C++). Any functions that operate on angles use radians as the unit of angle.〔 Not all of these functions are available in the C89 version of the standard. For those that are, the functions accept only type double for the floating-point arguments, leading to expensive type conversions in code that otherwise used single-precision float values. In C99, this shortcoming was fixed by introducing new sets of functions that work on float and long double arguments. Those functions are identified by f and l suffixes respectively.
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「C mathematical functions」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|